#ifndef CFDPOSTDATAMANAGER_H
#define CFDPOSTDATAMANAGER_H

#include "CFDPostDataManager_global.h"

namespace DataManager {

class CFDPOSTDATAMANAGER_EXPORT CFDPostDataManager {
  public:
    CFDPostDataManager();
    static CFDPostDataManager* getInstance();

    void setTreeCurrentDataID(int dataID);
    int getTreeCurrentDataID();
  private:
    static CFDPostDataManager* m_instance;

    // 成员变量，结构树中默认的选中对象的ID
    int m_iTreeCurrentDataID = -1;
};
}

#endif // CFDPOSTDATAMANAGER_H
